<template>
  <div class="department-container">
    <div class="app-container">
      <el-card>
        <el-tabs v-model="activeName">
          <el-tab-pane label="登录账号设置" name="first">
            <loginSetting :cur-id="$route.query.id" />
          </el-tab-pane>
          <el-tab-pane label="个人详情" name="second">
            <userInfo :cur-id="$route.query.id" />
          </el-tab-pane>
          <el-tab-pane label="岗位信息" name="third">
            <job-info :cur-id="$route.query.id" />
          </el-tab-pane>
        </el-tabs>
      </el-card>
    </div>
  </div>
</template>

<script>
import jobInfo from './components/job-info.vue'
import loginSetting from './components/login-setting.vue'
import userInfo from './components/user-info.vue'
export default {
  components: {
    jobInfo,
    loginSetting,
    userInfo
  },
  data() {
    return {
      activeName: 'first'
    }
  }

}
</script>

<style>

</style>
